package org.alex.samples.service;

import java.io.InputStream;
import java.util.List;

import org.alex.samples.model.ExamUserRole;
import org.alex.samples.model.Users;
import org.alex.samples.model.UsersVO;

public interface IUserService {
	public List<Users> findAllUser();
	
	public void createUser(Users user) throws Exception;
	
	public UsersVO getUserById(String userId);
	
	public void editUser(UsersVO userVO) throws Exception;
	
	public void detele(String userId) throws Exception;
	
	public void saveStudentByExcel(InputStream inputStream,String postfix) throws Exception;
	
	public List<UsersVO> findAllStudent();
	
	public void addUserRole(ExamUserRole examUserRole,Users user);
	
	public void delUserRole(String userId);
}
